﻿using B.S.Procurement.Error;
using MediatR;

namespace B.S.Procurement.Write.Api.Application.Command.ExtractionDetailsCommand
{
    public class CreateExtractionDetailsCommand : IRequest<ApiResult<int>>
    {
        //产品名称
        public string ProductName { get; set; }
        //产品编号
        public string ProductNumber { get; set; }
        //规格型号
        public string Specification { get; set; }
        //单位
        public string Unit { get; set; }
        //数量
        public int Num { get; set; }
        //单价
        public decimal Price { get; set; }
        //票据类型
        public string BillType { get; set; }
        //税率(%)
        public string Rate { get; set; }
        //含税单价
        public decimal IncludingPrice { get; set; }
        //未税金额
        public decimal NotTaxedMoney { get; set; }
        //税额
        public decimal Tax { get; set; }
        //总金额
        public decimal SumMoney { get; set; }
        //是否需要出库
        public string OutboundShipments { get; set; }
        //批号
        public string lotNumber { get; set; }
        //有效日期
        public DateTime ExpirationDate { get; set; }
        //生产日期
        public DateTime ManufacturingDate { get; set; }
        //到货日期
        public DateTime ArrivalDate { get; set; }
        //备注
        public string Remark { get; set; }
        //采购退货主键Id
        public int ExtractionId { get; set; }
        //逻辑删
        public bool Del { get; set; }
    }
}
